export interface DataType {
  key: string;
  1: string;
  2: number;
  3: string;
}
// 表格
export type CustomRecord = {
  keyId?:string,
  saleNetworkCode?:string,//单据编号
  contractCode?:string,//事项类型
  contractStatus?:string,//事项名称
  contractStatusText?:string,//创建日期
  deliveryMonth?:string,//事项状态
  payType?:string,//备注
}
// 分页
export type Page = {
  pageSize: number;
  current: number;
  total?: number;
} 
// export type TSRSR01New = Omit<CustomRecord, 'id'>;
// 查询 表单
export type Form = {
  saleNetworkCode?:string,//单据编号
  contractCode?:string,//事项类型
  contractStatus?:string,//事项名称
  contractStatusText?:string,//创建日期
  deliveryMonth?:string,//事项状态
  payType?:string,//备注
}
export type State<T> = {
  // 查询表单
  queryForm: Record<string, unknown>;
  // 数据窗口
  table: {
    pagination: Page;
    isLoading: boolean;
    total: number;
    data: T[];
  };
};